import socket


def start_client():

    sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

    sock.sendto('hi'.encode('UTF-8'), ('127.0.0.1', 9527))

    recv_bytes = sock.recv(1024)

    print('recieve >> {0}'.format(recv_bytes))

    sock.close()

if __name__ == '__main__':
    start_client()
